package org.zfes.snowier.cloud.zbss.cms.content.model;
import org.zfes.snowier.common.dao.IBaseModel;
public class CmsContentTag extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public CmsContentTag() {}
	public CmsContentTag(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->
	@javax.validation.constraints.NotNull(message="内容id不能为空")
	
	  private java.lang.Long contentId;
 
	@javax.validation.constraints.NotNull(message="标签不能为空")
	
	  private java.lang.Long tagId;
 
	@javax.validation.constraints.NotNull(message="序号不能为空")
	  private java.lang.Integer tagNum;
 
	@javax.validation.constraints.NotNull(message="状态:不能为空")
	
	  private java.lang.Byte status;
 
	@javax.validation.constraints.NotNull(message="创建时间不能为空")
	
	  private java.util.Date createTime;
 
	@javax.validation.constraints.NotNull(message="更新时间不能为空")
	
	  private java.util.Date updateTime;
 
	
	//<-------------------------------------------->
	public CmsContentTag setContentId(java.lang.Long contentId){
	 this.contentId=contentId;
	 return this;
	}
	public java.lang.Long getContentId(){
		return this.contentId;
	}
	public CmsContentTag setTagId(java.lang.Long tagId){
	 this.tagId=tagId;
	 return this;
	}
	public java.lang.Long getTagId(){
		return this.tagId;
	}
	public CmsContentTag setTagNum(java.lang.Integer tagNum){
	 this.tagNum=tagNum;
	 return this;
	}
	public java.lang.Integer getTagNum(){
		return this.tagNum;
	}
	public CmsContentTag setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public CmsContentTag setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}
	public CmsContentTag setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}

}
